package com.ithema.controller;

public class Code {
    public static final Integer SAVE_OK =20011;
    public static final Integer DELETE_OK =20021;
    public static final Integer UPDATE_OK =20031;
    public static final Integer GET_OK =20041;

    public static final Integer SAVE_ERROR =20010;
    public static final Integer DELETE_ERROR =20020;
    public static final Integer UPDATE_ERROR =20030;
    public static final Integer GET_ERROR =20040;


    public static final Integer SYSTEM_ERROR =50001;
    public static final Integer SYSTEM_TIMEOUT_ERROR =50002;//日后可能 开发中会让你的异常 详细的分类说不定 50002后还有 -> 5000201   5000202
    /*
    *    .......5000201
    *    .......5000202
    *    .......
    *    .......
    *    .......
    *    .......
    * */
    public static final Integer SYSTEM_UNKNOWN_ERROR =599999;//遇到Exception异常时，为未知异常此时调用该编号
    public static final Integer BUSINESS_ERROR =60002;
}
